package com.example.reader.service;

import com.example.reader.entity.Category;
import com.example.reader.mapper.CategoryMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 业务层方法
 */
@Service
public class CategoryService {

    @Resource
    private CategoryMapper categoryMapper;

    public List<Category> selectAll(Category category) {
        return categoryMapper.selectAll(category);
    }


}
